<include file="__PUBLIC__/header.html" />
<css file="__PUBLIC__/css/arc.css" />
<js file="__PUBLIC__/js/arc.js" />
</head>
<body>

		<h2>
            <a href="{|U('addShow')}">添加文章</a>
        </h2>
      <!--   <div class="loading">
            <img src="__PUBLIC__/images/right_loading.gif" alt="" /><br/>
            <span>正在为您努力加载文章列表...</span>
        </div> -->
        <div class="arcslist">
            <table class="table1">
                <thead>
                    <tr style="background:#72A9D3">
                        <!-- 全选box -->
                    	<th width="10"><input type="checkbox" name="selectallbtn"/></th>
                        <th width="10">AID</th>
                        <th>文章标题</th>
                        <th>所属栏目</th>
                        <th>文章状态</th>
                        <th>点击数</th>
                        <th width="260">操作</th>
                    </tr>
                </thead>
                <tbody>
                    <!-- 遍历所有文章 -->
                    <list from="$data" name="n">
                    <tr class="arclist">
                        <td><input type="checkbox" name="allarc" aid="{$n.aid}"/></td>
                        <td>{$n.aid}</td>
                        <td>{$n.title}</td>
                        <td>{$n.catname}</td>
                        <if value="$n.flag==0">
                            <td><font color='green'>审核通过</font></td>
                        <elseif value="$n.flag==1">
                            <td><font color='red'>未审核</font></td>
                        <else/>
                        </if>
                        <td>{$n.click}</td>
                        <td>
                            <!-- 文章操作 -->
                            <a href="{|U('editShow',array('aid'=>$n['aid']))}">编辑</a> |
                            <a href="__ROOT__/index.php?c=index&m=arc&aid={$n.aid}" target="_blank">预览</a> |
                            <a href="javascript:void(0)" class="delarc" aid="{$n.aid}">删除</a>
                        </td>
                    </tr>
                    </list>
                </tbody>
            </table>
            <!-- 文章选项操作 -->
            <div class="cancelAll">
            	<a href="javascript:void(0)" class="selectall">全选</a>
            	<a href="javascript:void(0)" class="toggle">反选</a>
            	<a href="javascript:void(0)" class="delselect">删除</a>
            </div>
        </div><!-- arcslist -->



</body>
</html>